package cn.zh.user.domain;


import cn.zh.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author itsource
 * @since 2023-03-04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User extends BaseDomain {


    private String username;
    private String phone;
    private String email;
    /**
     * 盐值
     */
    private String salt;
    /**
     * 密码，md5加密加盐
     */
    private String password;
    /**
     * 员工状态 1启用，0禁用
     */
    private Integer state;
    private Integer age;
    private Date createtime;
    private String headImg;
    private Long logininfoId;
}
